Learn R Programming

xdvir (version 0.1-2)

preview Package: LaTeX Package preview.

Description

Define a LaTeXPackage for the LaTeX preview package.

Usage

previewPackage()

Arguments

Value

A "LaTeXpackage" object.

Warning

This package wraps LaTeX snippets in a preview environment, which may not work for complex LaTeX snippets.

Author

Paul Murrell

Details

This function creates a "LaTeXpackage" object that provides support for the LaTeX preview package.

This adds a "preview-baseline" anchor to use for aligning the rendered LaTeX in R.

A predefined package is pre-registered under the name "preview".

Examples

Run this code
cat(author("test", packages="preview"), sep="\n")

Run the code above in your browser using DataLab